package com.c6906.vdam.das.model.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author : TAOHUIQI @Date: 2024/6/15 20:00 @Description:终端数据-用户从MQ接收数据
 */
@Data
public class TerminalData {

    @ApiModelProperty(value = "终端唯一编号")
    private String terminalSn;

    @ApiModelProperty(value = "终端SIM卡号")
    private String terminalSIM;

    @ApiModelProperty(value = "终端是否定位，0：未定位，1：已定位")
    private String isFixed;

    @ApiModelProperty(value = "终端上报经度，以度为单位的纬度值乘以 10 的 6 次方，精确到百万分之一度")
    private String longitude;

    @ApiModelProperty(value = "终端上报纬度，以度为单位的纬度值乘以 10 的 6 次方，精确到百万分之一度")
    private String latitude;

    @ApiModelProperty(value = "终端上报海拔，米")
    private String elevation;

    @ApiModelProperty(value = "终端上报方向 1°")
    private String direction;

    @ApiModelProperty(value = "终端上报时间,UTC方式，秒")
    private String terminalTime;

    @ApiModelProperty(value = "终端上报里程, 0.1km")
    private String terminalMiles;

    @ApiModelProperty(value = "当日里程，每天00:00-23:59:59的里程累计,0.1km")
    private String terminalMilesAday;

    @ApiModelProperty(value = "终端上报速度，1km/h")
    private String speed;

    @ApiModelProperty(value = "超速警告，0：无超速，1：超速")
    private String terminalOverSpeed;

    @ApiModelProperty(value = "终端离线状态：连续3次(可设置)无数据上传则认为离线，0：终端在线，1：终端离线")
    private String terminalOffLine;

    @ApiModelProperty(value = "GNSS模块状态，0：无疲劳驾驶，1：疲劳驾驶")
    private String terminalTiredDrive;

    @ApiModelProperty(value = "GNSS模块状态，0：无异常，1：GNSS模块异常")
    private String terminalGnssError;

    @ApiModelProperty(value = "GNSS天线开路状态，0：无异常，1：天线短路")
    private String terminalAntOpen;

    @ApiModelProperty(value = "GNSS天线短路状态，0：无异常，1：天线开路")
    private String terminalAntShort;

    @ApiModelProperty(value = "终端欠压状态，0：无异常，1：终端欠压")
    private String terminalUnderVol;

    @ApiModelProperty(value = "终端掉电状态，0：无异常，1：终端掉电")
    private String terminalNoVol;

    @ApiModelProperty(value = "终端ACC状态，0：未激活，1：已激活")
    private String terminalAccStatus;

    @ApiModelProperty(value = "无线网络信号强度")
    private String terminalNetRssi;

    @ApiModelProperty(value = "北斗定位状态，0：未使用北斗，1：使用北斗")
    private String fixBeidou;

    @ApiModelProperty(value = "GPS定位状态，0：未使用GPS，1：使用GPS")
    private String fixGps;

    @ApiModelProperty(value = "GLONASS定位状态，0：未使用GLONASS，1：使用GLONASS")
    private String fixGlonass;

    @ApiModelProperty(value = "Galileo定位状态，0：未使用Galileo，1：使用Galileo")
    private String fixGalileo;

    @ApiModelProperty(value = "GNSS定位卫星数量")
    private String terminalGnssCnt;

    @ApiModelProperty(value = "区域编码")
    private String regionCode;

    @ApiModelProperty(value = "组织层级名称")
    private String regionName;

    @ApiModelProperty(value = "车辆编码")
    private String vehiclesCode;

    @ApiModelProperty(value = "车牌")
    private String vehPlateNum;

    @ApiModelProperty(value = "车辆所有权单位ID")
    private String ownUnitId;

    @ApiModelProperty(value = "车辆所有权单位名称")
    private String ownUnitName;

    @ApiModelProperty(value = "车辆运营单位ID")
    private String useUnitId;

    @ApiModelProperty(value = "车辆使用单位名称")
    private String useUnitName;

    @ApiModelProperty(value = "车辆使用类型")
    private String vehUseType;

    @ApiModelProperty(value = "车辆运营单位类型")
    private String vehOwnType;

    @ApiModelProperty(value = "车辆性质id，字典表【车辆性质】")
    private String vehPropId;

    @ApiModelProperty(value = "车牌颜色名称")
    private String plateColorName;

    @ApiModelProperty(value = "数据是否入库标识，0-数据合规，允许入库；1-不合规，不允许入库")
    private int insertFlag;
}
